package com.cms.edm.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author weixiaochun
 * @email xiaochun0121@163.com
 * @date 2022-03-15 10:48:10
 */
@Data
@TableName("edm_result")
public class ResultEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 学生ID
	 */
	private Long studentId;
	/**
	 * 课程号
	 */
	private Long courseId;
	/**
	 * 成绩
	 */
	private Integer result;

	/**
	 * 年级
	 */
	private String grade;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	/**
	 * 修改时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;
	/**
	 * 是否删除
	 */
	@TableLogic
	private Integer isDelete;

}
